package com.iona.dao;

import java.util.List;

import com.iona.domain.PartDis;


public class PartDisDAO extends BaseDAO {
	@SuppressWarnings("unchecked")
	public List<PartDis> findAll() {
		return getSession().createCriteria(PartDis.class).list();
	}
	public PartDis findById(Integer id) {
		return (PartDis) getSession().load(PartDis.class, id);
	}
}
